    
<!DOCTYPE html>
<html lang="en">

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

   <title><?php echo $title?> Resep Masakan</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link href="<?php echo base_url()?>bootstrap/css/bootstrap.min.css" rel="stylesheet"> 
        <link href="<?php echo base_url()?>bootstrap/css/plugins/metisMenu/metisMenu.min.css" rel="stylesheet">      
        <link href="<?php echo base_url()?>bootstrap/css/plugins/timeline.css" rel="stylesheet">  
        <link href="<?php echo base_url()?>bootstrap/css/plugins/morris.css" rel="stylesheet">
        <link href="<?php echo base_url()?>bootstrap/css/sb-admin-2.css" rel="stylesheet">
         <link href="<?php echo base_url()?>bootstrap/font-awesome-4.1.0/css/font-awesome.min.css" rel="stylesheet"> 
<!-- TinyMCE -->
<script type="text/javascript" src="<?php echo base_url(); ?>assets/TINYMCE/JSCRIPTS/TINY_MCE/tiny_mce_src.js"></script>
<script type="text/javascript">
        tinyMCE.init({
            // General options
            mode : "textareas",
            theme : "advanced",
            plugins : "safari,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template",
            // Theme options
    theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,cut,copy,paste,pastetext,pasteword,|,search,replace,|",
    theme_advanced_buttons2 :
    "styleselect,formatselect,fontselect,fontsizeselect,forecolor,backcolor",
    theme_advanced_buttons3 : "bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|",
            theme_advanced_toolbar_location : "top",
            theme_advanced_toolbar_align : "left",
            theme_advanced_statusbar_location : "bottom",
            theme_advanced_resizing : true,
            // Example content CSS (should be your site CSS)
            content_css : "css/content.css",
            // Drop lists for link/image/media/template dialogs
            template_external_list_url : "lists/template_list.js",
            external_link_list_url : "lists/link_list.js",
            external_image_list_url : "lists/image_list.js",
            media_external_list_url : "lists/media_list.js",
            // Replace values for the template plugin
            template_replace_values : {
                username : "Some User",
                staffid : "991234"
            }
        });
        
        function convLinkVC(strUrl, node, on_save) {
                strUrl=strUrl.replace("../","");
                return strUrl;
           } 
        
        function ajaxLoad() {
        var ed = tinyMCE.get('elm');

        // Do you ajax call here, window.setTimeout fakes ajax call
        ed.setProgressState(1); // Show progress
        window.setTimeout(function() {
            ed.setProgressState(0); // Hide progress
            ed.setContent('HTML content that got passed from server.');
        }, 3000);
    }

    function ajaxSave() {
        var ed = tinyMCE.get('elm');

        // Do you ajax call here, window.setTimeout fakes ajax call
        ed.setProgressState(1); // Show progress
        window.setTimeout(function() {
            ed.setProgressState(0); // Hide progress                
        }, 3000);
    }

</script>
<!-- /TinyMCE -->
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->

</head>

<body>

   <div id="wrapper">

        <!-- Navigation -->
        <nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="index.html">Resep Masakan</a>
            </div>
            <!-- /.navbar-header -->

            <ul class="nav navbar-top-links navbar-right">
                
                <!-- /.dropdown -->
                <li class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                        <i class="fa fa-user fa-fw"></i>  <i class="fa fa-caret-down"></i>
                    </a>
                    <ul class="dropdown-menu dropdown-user">
                        <li><a href="#"><i class="fa fa-user fa-fw"></i> User Profile</a>
                        </li>
                        <li><a href="#"><i class="fa fa-gear fa-fw"></i> Settings</a>
                        </li>
                        <li class="divider"></li>
                        <li><a href="<?php echo site_url()?>/dashboard/logout"><i class="fa fa-sign-out fa-fw"></i> Logout</a>
                        </li>
                    </ul>
                    <!-- /.dropdown-user -->
                </li>
                <!-- /.dropdown -->
            </ul>
            <!-- /.navbar-top-links -->

            <div class="navbar-default sidebar" role="navigation">
                <div class="sidebar-nav navbar-collapse">
                    <ul class="nav" id="side-menu">
                       <li><a href="<?php echo site_url()?>/dashboard"><i class="icon-home"></i> Home</a></li>
                        <li><a href="<?php echo site_url()?>/dashboard/Kategori"><i class="fa fa-table fa-fw"></i> Kategori Masakan</a></li>
                        <li><a href="<?php echo site_url()?>/dashboard/Makanan"><i class="fa fa-table fa-fw"></i>Makanan</a></li>
                        <li><a href="<?php echo site_url()?>/dashboard/Minuman"><i class="fa fa-table fa-fw"></i>Minuman</a></li>
                        <li><a href="<?php echo site_url()?>/dashboard/Gambar"><i class="fa fa-table fa-fw"></i>Gambar</a></li>
                    </ul>     
                </div>
                <!-- /.sidebar-collapse -->
            </div>
            <!-- /.navbar-static-side -->
        </nav>
<a href="kjasdhasjkdh">asjsad</a>

        <div id="page-wrapper">
                          
            <div class="row">
                <h2><?php echo $title?></h2>
                
                <!--
                <ul class="breadcrumb">
                  <li>APPS <span class="divider">/</span></li>  
                  <li><?php echo $title?></li>
                </ul>

                -->
                
                 <?php $this->load->view('page/' . $page) ?>

        </div>
        </div>
        <!-- /#page-wrapper -->

    </div>


    <!-- jQuery -->
    <script src="<?php echo base_url()?>bootstrap/js/jquery.js"></script>

    <!-- Bootstrap Core JavaScript -->
    <script src="<?php echo base_url()?>bootstrap/js/bootstrap.min.js"></script>

    <!-- Metis Menu Plugin JavaScript -->
    <script src="<?php echo base_url()?>bootstrap/js/plugins/metisMenu/metisMenu.min.js"></script>

    <!-- Morris Charts JavaScript -->
    <script src="<?php echo base_url()?>bootstrap/js/plugins/morris/raphael.min.js"></script>
    <script src="<?php echo base_url()?>bootstrap/js/plugins/morris/morris.min.js"></script>
    <script src="<?php echo base_url()?>bootstrap/js/plugins/morris/morris-data.js"></script>

    <!-- Custom Theme JavaScript -->
    <script src="<?php echo base_url()?>bootstrap/js/sb-admin-2.js"></script>

</body>

</html>